package com.xuecheng.content.agent;

import com.xuecheng.common.domain.response.RestResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.Map;

@FeignClient(value = "farming",fallback = FileManagerAgentFallBack.class)
public interface FileManagerAgent {


    @GetMapping("common/qnUploadToken")
    RestResponse<Map<String, Object>> qiniuUploadToken();
}